<script setup>
import { ref } from 'vue'
import MyComponent from '@/components/chapter08/base/8.6.3Child.vue'
const myText = ref('')
</script>

<template>
  对你的输入进行首字母大写:
  <MyComponent v-model.capitalize="myText" />
</template>
